package com.example.fireassistant_server.dto.company;

import lombok.Data;


import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class CompanyCreateRequest {

    @NotNull(message = "单位所在省不能为空")
    private String province;

    @NotNull(message = "单位所在市不能为空")
    private String cityName;

    @NotNull(message = "单位名不能为空")
    private String companyName;

    @NotNull(message = "latitude不能为空")
    private BigDecimal latitude;

    @NotNull(message = "longitude不能为空")
    private BigDecimal longitude;

    @NotNull(message = "辖区半径不能为空")
    private float radius;

    private String description;
}
